﻿#include "frmain.h"
#include "appinit.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    AppInit::Instance()->start();

    //加载样式表
    QFile file(":/style/psblack.css");
    if (file.open(QFile::ReadOnly)) {
        QString qss = QString(file.readAll());
        qApp->setStyleSheet(qss);
        file.close();
    }

    FrMain w;
    w.show();
    return a.exec();
}
